package com.gitpractice.liwushuo.activity;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.support.v7.app.AppCompatActivity;

import com.gitpractice.liwushuo.MainActivity;
import com.gitpractice.liwushuo.R;

/**
 * Created by admin on 2016/7/25.
 */
public class GuideActivity extends AppCompatActivity {
    private Handler handler=new Handler();
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_guide);
        handler.postDelayed(new Runnable() {
            @Override
            public void run() {
                Intent intent=new Intent(GuideActivity.this,MainActivity.class);
                startActivity(intent);
                finish();
            }
        },3000);

    }
}
